package com.swxy.club.dto.bo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author 易
 */
@Data
@ApiModel(description = "活动创建请求体")
public class ActivityAddBo {

    @ApiModelProperty(value = "活动标题", required = true, example = "活动一")
    @NotNull(message = "活动标题不能为空")
    private String title;

    @ApiModelProperty(value = "活动说明")
    private String description;

    @ApiModelProperty(value = "活动简介")
    private String profile;

    @ApiModelProperty(value = "活动图片")
    private String activityImageUrl;

    @ApiModelProperty(value = "活动开始时间")
    @NotNull(message = "活动开始时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "活动结束时间")
    @NotNull(message = "活动结束时间不能为空")
    private String endTime;

    @ApiModelProperty(value = "活动地点")
    @NotNull(message = "活动地点不能为空")
    private String location;

    @ApiModelProperty(value = "社团id")
    @NotNull(message = "社团id不能为空")
    private Integer clubId;

    @ApiModelProperty(value = "最大人数")
    private Integer maxNumber;

    @ApiModelProperty(value = "活动预计费用")
    private BigDecimal expectAmount;


}
